package newproject;

public class NewProject {

    public static void main(String[] args) {
        City c1 = new City("Volgograd");
        Street s1 = new Street("Street 1");
        s1.addHouse(new House(9, 100));
        s1.addHouse(new House(5, 30));
        c1.addStreet(s1);
        System.out.println(c1.getFlats());
    }
}
